/**
 * 
 */
package sailing.ui.model;

import javax.swing.table.AbstractTableModel;

import org.jdesktop.application.SingleFrameApplication;

/**
 * @author kevin
 * 
 */
public abstract class SailingTableModel extends AbstractTableModel {

	private final SingleFrameApplication application;

	public SailingTableModel(SingleFrameApplication application) {
		super();
		this.application = application;
	}

	protected SingleFrameApplication getApplication() {
		return this.application;
	}

	/**
	 * try to use this method to update table data
	 */
	public abstract void updateModel();

}
